package com.lsq.springboot;

import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @author lsq
 * @description 扫描自动配置类WebServerAutoConfiguration等等
 * @date 2023/9/8
 */
public class AutoConfigurationImportSelector implements DeferredImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        //扫描META-INF里的spring.factories里面保存所有自动配置类135个通过spring.autoconfigure.metadata.properties里的条件过滤（编译时生成使用lombok实现）


        //扫描自动配置类的名字返回


        return new String[0];
    }
}
